<html><head><title>ProgramFilename</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">ProgramFilename()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result$ = <font color="#3A3966"><b>ProgramFilename</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the full path and filename of this program and may be used to find where the program is 
installed or the executable name. <a href="../filesystem/getpathpart.html">GetPathPart()</a> or <a href="../filesystem/getfilepart.html">GetFilePart()</a> may be used to get the path or filename 
of the program from the return string. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.


</blockquote><p><b>Return value</b></p><blockquote>

The full path and filename of this program. 

<br>
<br>
If used inside a DLL, this function returns the path and filename of the DLL, not the main program 
that loaded it. 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=programexitcode.html>ProgramExitCode()</a> - <a href="index.html">Process Index</a> - <a href="programid.html">ProgramID()</a> -><br><br>

</body></html>